<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="head :: common_head(~{::title},~{::link})">
    <title>appraisalAdd</title>
    <link rel="stylesheet" th:href="@{/sys/appraisal/appraisalAdd.css}" media="all" />
</head>
<!--考题新增页面-->
<body>

    <div class="div-body">
        <form class="layui-form appraisalAddForm" lay-filter="appraisalAddForm"> <!-- 提示：如果你不想用form，你可以换成div等任何一个普通元素 -->
            <div class="layui-form-item">
                <label class="layui-form-label"><span>*</span>评定内容：</label>
                <div class="layui-input-block">
                    <textarea name="vcontent" style="resize: none;" lay-verify="required" maxlength="200" placeholder="请输入评定内容" autocomplete="off" class="layui-textarea"></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span>*</span>考核类别：</label>
                <div class="layui-input-block">
                    <select name="vassessflg" lay-verify="required" lay-filter="vassessflg">
                        <option value=""></option>
                        <option value="0">写作</option>
                        <option value="1">阅读</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span>*</span>评定类型：</label>
                <div class="layui-input-block radioAppraisalsflg">
                    <input type="radio" name="vappraisalsflg" value="0" title="男">
                    <input type="radio" name="vappraisalsflg" value="1" title="女" checked>
                </div>
            </div>
            <div class="layui-form-item" style="display: none">
                <div class="layui-input-block">
                    <button id="submit" class="layui-btn" lay-submit lay-filter="appraisalAdd">立即提交</button>
                </div>
            </div>
            <!-- 更多表单结构排版请移步文档左侧【页面元素-表单】一项阅览 -->
        </form>

        <form class="layui-form " lay-filter="scoreinfoForm">
            <div class="layui-form div-scoreinfo">
                <div class="layui-form-item vstandard-item">
                    <label class="layui-form-label"><span>*</span>选项：</label>
                    <div class="layui-input-block">
                        <textarea name="vstandard" style="resize: none;" lay-verify="required" maxlength="200" placeholder="请输入标准（答案）" autocomplete="off" class="layui-textarea"></textarea>
                    </div>
                </div>
                <div class="iscore-scoreinfoAdd">
                    <div class="layui-form-item iscore-item">
                        <label class="layui-form-label iscore-label"><span>*</span>分值：</label>
                        <div class="layui-input-block iscore-block">
                            <input type="text" name="iscore" maxlength="3" lay-verify="costomnum|required|number" placeholder="请输入分值" autocomplete="off" class="layui-input">
                        </div>
                    </div><!--lay-verify="required|phone|number"-->

                    <div class="layui-form-item btn-item">
                        <div class="layui-input-block btn-block-scoreinfo">
                            <button id="scoreinfoAdd" lay-submit lay-filter="scoreinfoAdd" class="layui-btn layui-btn-sm btncolor"><i class="layui-icon">&#xe654;</i>添加</button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block table-block">
                    <table id="scoreinfoTable" lay-filter="scoreinfoTable"></table>
                </div>
            </div>
        </form>
    </div>
    <div th:replace="head :: common_js(~{::script})">
        <script type="text/javascript" th:src="@{/sys/appraisal/appraisalAdd.js}"></script>
    </div>
</body>
</html>